package pub.guoxin.oops.collector;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by guoxin on 17-10-22.
 */
@Data
@Component
@ConfigurationProperties(prefix = "udp.collector")
public class UdpCollectorProperties {
    private String host;
    private int port;
}
